import request from '@/utils/request'
/**
 * 获取/查询学生数据的后端API方法
 * @param {*} params  
 * @returns 
 */
export function getStudentsApi(params){
    return request({
        method:'GET',
        url:"/students/getStudents",
        params
    })
}
/**
 * 增加学生的api方法
 * @param {*} data 
 * @returns 
 */
export function addStudentApi(data){
    return request({
        method:"POST",
        url:"/students/addStudents",
        data
    })
}
